package com.jsoft.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @program: CPM
 * @description:获取当前时间
 * @author: beibei
 * @create: 2022-09-09 23:11
 */
public class NowTime {

    public static String getNowTime(){
        Date date = new Date();
        SimpleDateFormat dateFormat= new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
        return dateFormat.format(date);
    }

}